import request from '@/utils/request.js'

export const dataSpecificationListService = () => {
    return request.get('/dataSpecifications/list')
}

export const dataSpecificationAddService = (dataSpecificationData) => {
    return request.post('/dataSpecifications', dataSpecificationData)
}


export const dataSpecificationUpdateService = (dataSpecificationData) => {
    return request.put('/dataSpecifications', dataSpecificationData)
}


export const dataSpecificationDeleteService = (id) => {
    return request.delete('/dataSpecifications?id=' + id)
}